package com.cqfae.deploycentral.app.dao.mapper;


import com.cqfae.deploycentral.app.base.BaseMapper;
import com.cqfae.deploycentral.app.dao.entity.WindowPlans;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface WindowPlansMapper extends BaseMapper<WindowPlans> {

    public Integer countPlans(@Param("windowDate") Integer windowDate);

    public Integer updateDeployStatusByReportCode(@Param("reportCode") String reportCode,
                                                  @Param("deployStatusOne") Integer deployStatusOne,
                                                  @Param("deployStatusTwo") Integer deployStatusTwo,
                                                  @Param("updateBy") String updateBy,
                                                  @Param("updateTime") Date updateTime);

}